package com.ozo.easy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ozo.easy.common.model.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 通知
 *
 * @author ozo
 * @version 1.0
 * @date 2025-02-06 16:35:26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_notice")
public class SysNotice extends BaseEntity {

    /**
     * 通知类型
     */
    @TableField("notice_type")
    private String noticeType;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    /**
     * 是否发布
     */
    @TableField("publish_flag")
    private Boolean publishFlag;

    /**
     * 发布时间
     */
    @TableField("publish_time")
    private LocalDateTime publishTime;

}
